package jack.newbee.mall.service;

import jack.newbee.mall.api.mall.param.MallUserUpdateParam;
import jack.newbee.mall.util.PageQueryUtil;
import jack.newbee.mall.util.PageResult;

public interface NewBeeMallUserService {
    //用户注册
    String register(String loginName, String password);

    //登录
    String login(String loginName, String passwordMD5);

    //用户信息修改
    Boolean updateUserInfo(MallUserUpdateParam mallUser, Long userId);

    // 登出接口
    Boolean logout(Long userId);

    // 用户禁用与解除禁用(0-未锁定 1-已锁定)
    Boolean lockUsers(Long[] ids, int lockStatus);

    //后台分页
    PageResult getNewBeeMallUsersPage(PageQueryUtil pageUtil);
}
